package com.common.weibolib;

public class NdColumns {

	public static final class TopicInfoColumns {
		public static final String KEY_WORD = "keyword";// 话题微博用到的
		public static final String UID = "uid";//当前用户id
		public static final String ID = "id";//微博id
		public static final String UNIT_ID = "unit_id";//单位id
		public static final String GROUP_ID = "group_id";//群组id
		public static final String SINA_ID = "weibo_tid";//分享的新浪微博id
		public static final String ROOT_TID = "root_tid";//微博根id,如果不是转发则为0
		public static final String CATEGORY = "category";//微博分类
		public static final String CONTENT = "content";//微博内容", 如果是长微博，则content表示摘要内容
		public static final String ARTICLE = "article";//长微博内容,只有是长微博才有这个字段	
		public static final String POST_TIME = "post_time";//发布时间
		public static final String FROM_STRING = "from_string";//来自哪里
		public static final String GEO = "geo";//地址位置信息
		public static final String ATTACH = "attach";//附件
		public static final String IMAGE = "image";//图片
		public static final String ROOT_TOPIC = "root_topic";//原微博
		public static final String FORWARDS = "forwards";//微博转发数
		public static final String REPLYS = "replys";//微博评论数
		public static final String PRAISES = "praises";//被赞次数
		public static final String PRAISED = "praised";//我是否赞过
		public static final String USER = "user";//用户信息
		public static final String TYPE = "type";//原创or转发
		public static final String GLANCES = "glances";//被阅读数
		public static final String REQUEST_ID = "request_id";//特殊场景，需要存储id,如赞，@我的
		
		// 明星App补充字段
		public static final String FLOWER_COUNT = "flower_count";// 粉丝送的鲜花数 
		public static final String FAVORITED = "favorited";// 我是否收藏过
		public static final String PICKED = "picked";// 是否精品微博
		public static final String STAMP = "stamp";// 是否为明星印章
		public static final String SCOPE = "scope";// 可见范围
		public static final String MENTIONS = "mentions";// @的人
		
	}

	public static final class PraiseUserColumns {
		
		public static final String ID = "id";//自增id,服务端定义

		public static final String TWEET_ID = "tid";//微博id

		public static final String USER = "user";// 赞用户的资料

		public static final String PRAISE_TIME = "praise_time";//赞的时间

	}

	public static final class PraiseColumns {
		
		public static final String ID = "id";//自增id,服务端定义

		public static final String USER = "user";// 赞用户的资料

		public static final String PRAISE_TIME = "praise_time";//赞的时间
		
		public static final String TOPIC_INFO = "topic_info";//微博

	}
	
	public static final class UserColumns {
		public static final String ID = "id";

		public static final String NAME = "name";

		public static final String GENDER = "gender";

	}

	public static final class ReplyColumns {
		public static final String ID = "id";//评论rid
		public static final String CONTENT = "content";//评论内容
		public static final String POST_TIME = "post_time";//发布时间
		public static final String FROM_STRING = "from_string";//来自哪里
		public static final String UID = "uid";//评论者的uid
		public static final String TO_TID = "to_tid";//评论微博时，原微博的tid
		public static final String USER = "user";//用户信息
		public static final String TO_RID = "to_rid";//回复评论时，原评论的rid
		public static final String ROOT_TOPIC = "root_topic";//原微博内容
		public static final String TO_REPLY = "to_reply";//原评论内容【只嵌套1层】
		public static final String REQUEST_ID = "request_id";//特殊场景，需要存储id,如赞，@我的
		public static final String BIRTH_PLACE = "birth_place";//籍贯
		public static final String FLOOR_ID = "floor_id";//楼层号
	}


	public static final class IdolListColumns {
		public static final String ID = "id";
		public static final String UID = "uid";
		public static final String NICKNAME = "nickname";
		public static final String FANS = "fans";
		public static final String IDOLS = "idols";
		public static final String IS_FOLLOWING = "is_following";
		public static final String SINA_UID = "sina_uid";
	}

	public static final class SinaBindColumns {
		public static final String TOKEN = "access_token";
		public static final String SINA_UID = "sina_uid";
		public static final String REFRESH_TOKEN = "refresh_token";
		public static final String ExpiresTime = "expires_time";
		public static final String NickName = "nick_name";
	}

	public static final class FlowerMsgColumns {
		public static final String UID = "uid";
		public static final String MSG_TEXT = "msg_text";
		public static final String MSG_VOICE = "msg_voice";
		public static final String MSG_VOICE_LOCAL = "msg_voice_local";
		public static final String MSG_CONTENT_TYPE = "msg_content_type";
		public static final String MSG_TYPE = "msg_type";
		public static final String MSG_STATE = "msg_state";
	}
	
	public static final class TimeStampColumns{
		public static final String TABLE_NAME = "table_name";
		public static final String TS = "ts";
	}
	
	public static final class UserTopicIncludeNamesColumns{
		public static final String TID = "tid";
		public static final String TOPIC = "topic";
		public static final String REPLYS = "replys";
		public static final String POST_TIME = "post_time";
		public static final String UID = "uid";
	}
	
	public static final class HeadlineImageColumns{
		public static final String IMAGE_URL = "image_url";
		public static final String IMAGE_TS = "image_ts";
	}

	public static final class WallColumns{
		public static final String KEY = "key";
		public static final String CONTENT = "content";
		public static final String FLOWERS = "flowers";
	}
	
	public static final class VersionColumns{
		public static final String KEY = "key";
		public static final String VERSION = "version";
	}
	
	//用户最后一次定位信息表
	public static final class UserLastLocationColumns{
		public static final String CITYCODE = "citycode";//城市code
		public static final String LONGITUDE = "longitude";//经度
		public static final String LATITUDE = "latitude";//维度
	}
	
	//最后一次天气信息表
	public static final class UserLastWeatherColumns{
		public static final String CITYCODE ="citycode";//城市code
		public static final String WEATHER ="weather";//天气
		public static final String TIME = "time";//更新时间
	}
}
